<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单练习</title>
</head>
<body>
    <form action="test1.html" method="get">
    用户名: <input type="text" size="30" name="username"><br/>
    密码: <input type="password" nmae="password"><br/>
    性别: <input type="radio" name="gender" id="gender1" value="1"> <label for="gender1">男</label>
          <input type="radio" name="gender" id="gender2" value="2"> <label for="gender1">女</label>
          <input type="radio" name="gender" id="gender3" value="3"> <label for="gender1">保密</label><br/>

    兴趣: <input type="checkbox" name="hobby" id="" value="1"> 篮球
          <input type="checkbox" name="hobby" id="" value="2"> 足球
          <input type="checkbox" name="hobby" id="" value="3"> 排球
          <input type="checkbox" name="hobby" id="" value="4"> 乒乓球<br/>
    
    <!-- <button>这是button标签</button>      -->
    <!-- <input type="button" name="" id="" value="按钮">   -->
    
    <!-- 下拉菜单 -->
    专业: <select>
        <option value="1">计算机科学与技术</option>
        <option value="2">软件工程</option>
        <option value="3">物联网工程</option>
        <option value="4">人工智能</option>
        <option value="5" selected>网络工程</option>
    </select><br/>

    个人描述: <textarea rows="10" cols="50"></textarea>

    <input type="submit" value="提交">
    </form>

</body>
</html>


